Optimal. Leaf size=97 \[ \frac {a \sin ^6(c+d x)}{6 d}+\frac {b \sin ^7(c+d x)}{7 d}-\frac {a \sin ^8(c+d x)}{4 d}-\frac {2 b \sin ^9(c+d x)}{9 d}+\frac {a \sin ^{10}(c+d x)}{10 d}+\frac {b \sin ^{11}(c+d x)}{11 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 97, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {2916, 12, 780}
\begin {gather*} \frac {a \sin ^{10}(c+d x)}{10 d}-\frac {a \sin ^8(c+d x)}{4 d}+\frac {a \sin ^6(c+d x)}{6 d}+\frac {b \sin ^{11}(c+d x)}{11 d}-\frac {2 b \sin ^9(c+d x)}{9 d}+\frac {b \sin ^7(c+d x)}{7 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 780
Rule 2916
Rubi steps
\begin {align*} \int \cos ^5(c+d x) \sin ^5(c+d x) (a+b \sin (c+d x)) \, dx &=\frac {\text {Subst}\left (\int \frac {x^5 (a+x) \left (b^2-x^2\right )^2}{b^5} \, dx,x,b \sin (c+d x)\right )}{b^5 d}\\ &=\frac {\text {Subst}\left (\int x^5 (a+x) \left (b^2-x^2\right )^2 \, dx,x,b \sin (c+d x)\right )}{b^{10} d}\\ &=\frac {\text {Subst}\left (\int \left (a b^4 x^5+b^4 x^6-2 a b^2 x^7-2 b^2 x^8+a x^9+x^{10}\right ) \, dx,x,b \sin (c+d x)\right )}{b^{10} d}\\ &=\frac {a \sin ^6(c+d x)}{6 d}+\frac {b \sin ^7(c+d x)}{7 d}-\frac {a \sin ^8(c+d x)}{4 d}-\frac {2 b \sin ^9(c+d x)}{9 d}+\frac {a \sin ^{10}(c+d x)}{10 d}+\frac {b \sin ^{11}(c+d x)}{11 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.30, size = 105, normalized size = 1.08 \begin {gather*} \frac {-34650 a \cos (2 (c+d x))+5775 a \cos (6 (c+d x))-693 a \cos (10 (c+d x))+34650 b \sin (c+d x)-11550 b \sin (3 (c+d x))-3465 b \sin (5 (c+d x))+2475 b \sin (7 (c+d x))+385 b \sin (9 (c+d x))-315 b \sin (11 (c+d x))}{3548160 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.53, size = 138, normalized size = 1.42
method | result | size |
risch | \(\frac {5 b \sin \left (d x +c \right )}{512 d}-\frac {b \sin \left (11 d x +11 c \right )}{11264 d}-\frac {a \cos \left (10 d x +10 c \right )}{5120 d}+\frac {b \sin \left (9 d x +9 c \right )}{9216 d}+\frac {5 b \sin \left (7 d x +7 c \right )}{7168 d}+\frac {5 a \cos \left (6 d x +6 c \right )}{3072 d}-\frac {b \sin \left (5 d x +5 c \right )}{1024 d}-\frac {5 b \sin \left (3 d x +3 c \right )}{1536 d}-\frac {5 a \cos \left (2 d x +2 c \right )}{512 d}\) | \(134\) |
derivativedivides | \(\frac {a \left (-\frac {\left (\sin ^{4}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{10}-\frac {\left (\sin ^{2}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{20}-\frac {\left (\cos ^{6}\left (d x +c \right )\right )}{60}\right )+b \left (-\frac {\left (\sin ^{5}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{11}-\frac {5 \left (\sin ^{3}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{99}-\frac {5 \sin \left (d x +c \right ) \left (\cos ^{6}\left (d x +c \right )\right )}{231}+\frac {\left (\frac {8}{3}+\cos ^{4}\left (d x +c \right )+\frac {4 \left (\cos ^{2}\left (d x +c \right )\right )}{3}\right ) \sin \left (d x +c \right )}{231}\right )}{d}\) | \(138\) |
default | \(\frac {a \left (-\frac {\left (\sin ^{4}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{10}-\frac {\left (\sin ^{2}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{20}-\frac {\left (\cos ^{6}\left (d x +c \right )\right )}{60}\right )+b \left (-\frac {\left (\sin ^{5}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{11}-\frac {5 \left (\sin ^{3}\left (d x +c \right )\right ) \left (\cos ^{6}\left (d x +c \right )\right )}{99}-\frac {5 \sin \left (d x +c \right ) \left (\cos ^{6}\left (d x +c \right )\right )}{231}+\frac {\left (\frac {8}{3}+\cos ^{4}\left (d x +c \right )+\frac {4 \left (\cos ^{2}\left (d x +c \right )\right )}{3}\right ) \sin \left (d x +c \right )}{231}\right )}{d}\) | \(138\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 72, normalized size = 0.74 \begin {gather*} \frac {1260 \, b \sin \left (d x + c\right )^{11} + 1386 \, a \sin \left (d x + c\right )^{10} - 3080 \, b \sin \left (d x + c\right )^{9} - 3465 \, a \sin \left (d x + c\right )^{8} + 1980 \, b \sin \left (d x + c\right )^{7} + 2310 \, a \sin \left (d x + c\right )^{6}}{13860 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 106, normalized size = 1.09 \begin {gather*} -\frac {1386 \, a \cos \left (d x + c\right )^{10} - 3465 \, a \cos \left (d x + c\right )^{8} + 2310 \, a \cos \left (d x + c\right )^{6} + 20 \, {\left (63 \, b \cos \left (d x + c\right )^{10} - 161 \, b \cos \left (d x + c\right )^{8} + 113 \, b \cos \left (d x + c\right )^{6} - 3 \, b \cos \left (d x + c\right )^{4} - 4 \, b \cos \left (d x + c\right )^{2} - 8 \, b\right )} \sin \left (d x + c\right )}{13860 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 2.58, size = 136, normalized size = 1.40 \begin {gather*} \begin {cases} - \frac {a \sin ^{4}{\left (c + d x \right )} \cos ^{6}{\left (c + d x \right )}}{6 d} - \frac {a \sin ^{2}{\left (c + d x \right )} \cos ^{8}{\left (c + d x \right )}}{12 d} - \frac {a \cos ^{10}{\left (c + d x \right )}}{60 d} + \frac {8 b \sin ^{11}{\left (c + d x \right )}}{693 d} + \frac {4 b \sin ^{9}{\left (c + d x \right )} \cos ^{2}{\left (c + d x \right )}}{63 d} + \frac {b \sin ^{7}{\left (c + d x \right )} \cos ^{4}{\left (c + d x \right )}}{7 d} & \text {for}\: d \neq 0 \\x \left (a + b \sin {\left (c \right )}\right ) \sin ^{5}{\left (c \right )} \cos ^{5}{\left (c \right )} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.55, size = 133, normalized size = 1.37 \begin {gather*} -\frac {a \cos \left (10 \, d x + 10 \, c\right )}{5120 \, d} + \frac {5 \, a \cos \left (6 \, d x + 6 \, c\right )}{3072 \, d} - \frac {5 \, a \cos \left (2 \, d x + 2 \, c\right )}{512 \, d} - \frac {b \sin \left (11 \, d x + 11 \, c\right )}{11264 \, d} + \frac {b \sin \left (9 \, d x + 9 \, c\right )}{9216 \, d} + \frac {5 \, b \sin \left (7 \, d x + 7 \, c\right )}{7168 \, d} - \frac {b \sin \left (5 \, d x + 5 \, c\right )}{1024 \, d} - \frac {5 \, b \sin \left (3 \, d x + 3 \, c\right )}{1536 \, d} + \frac {5 \, b \sin \left (d x + c\right )}{512 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 71, normalized size = 0.73 \begin {gather*} \frac {\frac {b\,{\sin \left (c+d\,x\right )}^{11}}{11}+\frac {a\,{\sin \left (c+d\,x\right )}^{10}}{10}-\frac {2\,b\,{\sin \left (c+d\,x\right )}^9}{9}-\frac {a\,{\sin \left (c+d\,x\right )}^8}{4}+\frac {b\,{\sin \left (c+d\,x\right )}^7}{7}+\frac {a\,{\sin \left (c+d\,x\right )}^6}{6}}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________